package com.wages.project.system.dissent.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.wages.framework.aspectj.lang.annotation.Excel;
import com.wages.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 异议信息对象 dissent
 *
 * @author wages
 * @date 2021-02-08
 */
public class Dissent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 异议说明 */
    @Excel(name = "异议说明")
    private String msg;

    /** 返回意见 */
    @Excel(name = "返回意见")
    private String remsg;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 异议用户 */
    @Excel(name = "异议用户")
    private Long uid;

    /** 异议条数 */
    @Excel(name = "异议条数")
    private Long wid;


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Excel(name = "信息有效性")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public String getMsg()
    {
        return msg;
    }
    public void setRemsg(String remsg)
    {
        this.remsg = remsg;
    }

    public String getRemsg()
    {
        return remsg;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setWid(Long wid)
    {
        this.wid = wid;
    }

    public Long getWid()
    {
        return wid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("msg", getMsg())
            .append("remsg", getRemsg())
            .append("time", getTime())
            .append("uid", getUid())
            .append("wid", getWid())
            .toString();
    }
}
